package cn.csust.net2.manager.shared.po;

import java.io.Serializable;
import java.util.Date;

import cn.csust.net2.manager.shared.xml.XmlInfo;
import cn.csust.net2.manager.shared.xml.XmlResources;

import com.extjs.gxt.ui.client.data.BeanModelTag;

public class FileNotification extends PO implements Serializable,BeanModelTag{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer fileNotificationID;
	private String fileUrl;
	private User user;
	private  Date pushDate ;
	private  Date endDate ;
	private String txtContent;
	private String name;
	private String state;
	private String needName;
	public Integer getFileNotificationID() {
		return fileNotificationID;
	}
	public void setFileNotificationID(Integer fileNotificationID) {
		this.fileNotificationID = fileNotificationID;
	}
	public String getFileUrl() {
		return fileUrl;
	}
	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}
	public String getTxtContent() {
		return txtContent;
	}
	public void setTxtContent(String txtContent) {
		this.txtContent = txtContent;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getNeedName() {
		return needName;
	}
	public void setNeedName(String needName) {
		this.needName = needName;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	@Override
	public String getDisplayName() {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	protected XmlInfo getXmlInfo(XmlResources instance) {
		XmlInfo xmlInfo = new XmlInfo();
		xmlInfo.setTextResource(instance.fileNotification());
		return xmlInfo;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getPushDate() {
		return pushDate;
	}
	public void setPushDate(Date pushDate) {
		this.pushDate = pushDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	@Override
	public String toString() {
		return this.name;
	}
	
	
}
